home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
VSLENDS.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
1KB
|
43 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;* 09/06/89 v1.3:
;* Fixed DRI bug in vsl_ends. This function returns 2 words,
;* but the DRI docs don't mention that. The binding was
;* fixed to provide a pointer to a stack-allocated area to
;* hold the 2 words, but the words are not returned to the
;* caller since the DRI docs don't allow for that.
;*========================================================================
;*------------------------------------------------------------------------
;* Set polyline end styles.
;*------------------------------------------------------------------------
globl _vsl_ends
_vsl_ends:
; .cargs #8,handle.w,begstyle.w,endstyle.w
handle = 8
begstyle = 10
endstyle = 12
link a6,#-4
; VContrl #108,,,#2
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
move.w #2,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
clr.w -(sp) ; contrl[1]
move.w #108,-(sp) ; contrl[0]
subq.l #4,sp ;* -> ptsout
pea -4(a6) ;* -> intout
subq.l #4,sp ;* -> ptsin
pea begstyle(a6) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end